/**
 * @(#)PayLogDaoImpl.java 2017年7月7日
 * Copyright(C) 2017年7月7日 ZHEXIN IT CO.,LTD. All rights reserved.
 */
package org.jsbd.boss.dao.impl;


import java.util.List;

import org.jsbd.boss.domian.PayLogBean;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;

import edu.hziee.common.queue.IBatchExecutor;

/**
 * TODO 请加入本类的说明
 * @author <a href="mailto:zhouchao@zhexinit.com" >周超</a>
 * @version 1.0.0
 */
@Repository("payLogDao")
public class PayLogDaoImpl extends CrackLogBaseDao implements IBatchExecutor<PayLogBean> {
	public static final Logger LOGGER = LoggerFactory.getLogger(PayLogDaoImpl.class);

	/* (non-Javadoc)
	 * @see edu.hziee.common.queue.IBatchExecutor#execute(java.util.List)
	 */
	@Override
	public void execute(List<PayLogBean> records) {
		super.batchInsert("qy_simulator_pay.insert_pay_log", records);
	}

	public List<PayLogBean> selectList(PayLogBean bean){
		return super.queryForList("qy_simulator_pay.select_list", bean);
	}

	public Integer countOfList(PayLogBean payLogBean) {
		return super.queryForCount("qy_simulator_pay.count_list", payLogBean);
	}
}
